package com.example.bean;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class sysUser implements Serializable {

    private int id;

    private String username;

    private String email;

    private String mobile;

    private String name;

    private String password;

    private int isAdmin;

    private int isEnabled;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdDate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime lastModifiedDate;

    @TableField(fill = FieldFill.INSERT)
    private String createdBy;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String lastModifiedBy;

    private int isDelete;

    private String role;

    private int auditStatus;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime expirationTime;

    @TableField(fill = FieldFill.INSERT)
    private String verificationCode;

}
